define({ "api": [
  {
    "type": "post",
    "url": "/v2/fund/funddetail",
    "title": "资金明细详情",
    "group": "fund",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "请求-reqdata": [
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": true,
            "field": "page",
            "description": "<p>当前页码</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": true,
            "field": "limit",
            "description": "<p>单页条数</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": false,
            "field": "t",
            "description": "<p>当前时间戳(测试环境可不传)</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "返回-params": [
          {
            "group": "返回-params",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>资金明细详情数据</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "data.id",
            "description": "<p>资金明细id</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "data.order_number",
            "description": "<p>订单编号</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "data.user_id",
            "description": "<p>用户ID</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "data.fund_mode",
            "description": "<p>类型名称</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "data.handle_money",
            "description": "<p>操作金额</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "data.usable_money",
            "description": "<p>可用余额</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "data.create_time",
            "description": "<p>创建时间</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "data.operate_type",
            "description": "<p>操作类型</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "data.remarks",
            "description": "<p>备注</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "data.type_words",
            "description": "<p>类型名</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "data.type",
            "description": "<p>类型代号</p>"
          }
        ]
      }
    },
    "filename": "../../../application/modules/v2/controllers/Fund.php",
    "groupTitle": "fund",
    "name": "PostV2FundFunddetail",
    "error": {
      "fields": {
        "返回-params": [
          {
            "group": "返回-params",
            "optional": false,
            "field": "--",
            "description": "<p>本接口无params返回，请根据返回状态码（code）进行处理</p>"
          }
        ]
      }
    }
  },
  {
    "type": "post",
    "url": "/v2/fund/fundtypelist",
    "title": "资金明细筛选类型列表",
    "group": "fund",
    "version": "1.0.0",
    "success": {
      "fields": {
        "返回-params": [
          {
            "group": "返回-params",
            "type": "array",
            "optional": false,
            "field": "list",
            "description": "<p>类型列表</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "list.type",
            "description": "<p>类型ID</p>"
          },
          {
            "group": "返回-params",
            "type": "string",
            "optional": false,
            "field": "list.name",
            "description": "<p>类型名</p>"
          }
        ]
      }
    },
    "filename": "../../../application/modules/v2/controllers/Fund.php",
    "groupTitle": "fund",
    "name": "PostV2FundFundtypelist",
    "parameter": {
      "fields": {
        "请求-reqdata": [
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": false,
            "field": "t",
            "description": "<p>当前时间戳(测试环境可不传)</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "返回-params": [
          {
            "group": "返回-params",
            "optional": false,
            "field": "--",
            "description": "<p>本接口无params返回，请根据返回状态码（code）进行处理</p>"
          }
        ]
      }
    }
  },
  {
    "type": "post",
    "url": "/v2/fund/getfundcount",
    "title": "资金统计",
    "group": "fund",
    "version": "1.0.0",
    "success": {
      "fields": {
        "返回-params": [
          {
            "group": "返回-params",
            "type": "array",
            "optional": false,
            "field": "user_total_money",
            "description": "<p>用户总资产</p>"
          },
          {
            "group": "返回-params",
            "type": "string",
            "optional": false,
            "field": "user_total_money.word",
            "description": "<p>名称</p>"
          },
          {
            "group": "返回-params",
            "type": "string",
            "optional": false,
            "field": "user_total_money.value",
            "description": "<p>数值</p>"
          },
          {
            "group": "返回-params",
            "type": "array",
            "optional": false,
            "field": "user_total_list",
            "description": "<p>用户统计</p>"
          },
          {
            "group": "返回-params",
            "type": "string",
            "optional": false,
            "field": "user_total_list.word",
            "description": "<p>名称</p>"
          },
          {
            "group": "返回-params",
            "type": "string",
            "optional": false,
            "field": "user_total_list.value",
            "description": "<p>数值</p>"
          },
          {
            "group": "返回-params",
            "type": "array",
            "optional": false,
            "field": "wallet_list",
            "description": "<p>钱包统计</p>"
          },
          {
            "group": "返回-params",
            "type": "string",
            "optional": false,
            "field": "wallet_list.word",
            "description": "<p>名称</p>"
          },
          {
            "group": "返回-params",
            "type": "string",
            "optional": false,
            "field": "wallet_list.value",
            "description": "<p>数值</p>"
          }
        ]
      }
    },
    "filename": "../../../application/modules/v2/controllers/Fund.php",
    "groupTitle": "fund",
    "name": "PostV2FundGetfundcount",
    "parameter": {
      "fields": {
        "请求-reqdata": [
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": false,
            "field": "t",
            "description": "<p>当前时间戳(测试环境可不传)</p>"
          }
        ]
      }
    }
  },
  {
    "type": "post",
    "url": "/v2/fund/oldfunddetail",
    "title": "资金明细详情(旧)",
    "group": "fund",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "请求-reqdata": [
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": true,
            "field": "page",
            "description": "<p>当前页码</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": true,
            "field": "limit",
            "description": "<p>单页条数</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": false,
            "field": "t",
            "description": "<p>当前时间戳(测试环境可不传)</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "返回-params": [
          {
            "group": "返回-params",
            "type": "array",
            "optional": false,
            "field": "list",
            "description": "<p>资讯列表</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "list.id",
            "description": "<p>资讯ID</p>"
          }
        ]
      }
    },
    "filename": "../../../application/modules/v2/controllers/Fund.php",
    "groupTitle": "fund",
    "name": "PostV2FundOldfunddetail",
    "error": {
      "fields": {
        "返回-params": [
          {
            "group": "返回-params",
            "optional": false,
            "field": "--",
            "description": "<p>本接口无params返回，请根据返回状态码（code）进行处理</p>"
          }
        ]
      }
    }
  },
  {
    "type": "post",
    "url": "/v2/fund/oldtransaction",
    "title": "用户资金明细列表(旧)",
    "group": "fund",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "请求-reqdata": [
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": true,
            "field": "page",
            "description": "<p>当前页码</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": true,
            "field": "limit",
            "description": "<p>单页条数</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": true,
            "field": "type",
            "description": "<p>类型 通用（0全部 1充值 2提现 -1其他）普通会员（7付款 8收入 9退款）精选买家（3收回 4交易）精选卖家（5交易 6收回）</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": true,
            "field": "year",
            "description": "<p>年份</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": true,
            "field": "month",
            "description": "<p>月份</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": false,
            "field": "t",
            "description": "<p>当前时间戳(测试环境可不传)</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "返回-params": [
          {
            "group": "返回-params",
            "type": "array",
            "optional": false,
            "field": "list",
            "description": "<p>列表</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "list.id",
            "description": "<p>明细id</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "list.handleSum",
            "description": "<p>金额</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "list.fundMode",
            "description": "<p>描述</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "list.recordTime",
            "description": "<p>时间</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "list.type",
            "description": "<p>类型</p>"
          }
        ]
      }
    },
    "filename": "../../../application/modules/v2/controllers/Fund.php",
    "groupTitle": "fund",
    "name": "PostV2FundOldtransaction",
    "error": {
      "fields": {
        "返回-params": [
          {
            "group": "返回-params",
            "optional": false,
            "field": "--",
            "description": "<p>本接口无params返回，请根据返回状态码（code）进行处理</p>"
          }
        ]
      }
    }
  },
  {
    "type": "post",
    "url": "/v2/fund/transaction",
    "title": "用户资金明细列表",
    "group": "fund",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "请求-reqdata": [
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": true,
            "field": "page",
            "description": "<p>当前页码</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": true,
            "field": "limit",
            "description": "<p>单页条数</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": true,
            "field": "type",
            "description": "<p>类型 通用（0全部 1充值 2提现 -1其他）普通会员（7付款 8收入 9退款）精选买家（3收回 4交易 10转入 11转出）精选卖家（5交易 6收回 10转入 11转出）</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": true,
            "field": "year",
            "description": "<p>年份</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": true,
            "field": "month",
            "description": "<p>月份</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": false,
            "field": "t",
            "description": "<p>当前时间戳(测试环境可不传)</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "返回-params": [
          {
            "group": "返回-params",
            "type": "array",
            "optional": false,
            "field": "list",
            "description": "<p>列表</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "list.id",
            "description": "<p>明细id</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "list.handleSum",
            "description": "<p>金额</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "list.fundMode",
            "description": "<p>描述</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "list.recordTime",
            "description": "<p>时间</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "list.type",
            "description": "<p>类型</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "list.record_type",
            "description": "<p>账目类型 INCOME 入账; PAY 出账</p>"
          },
          {
            "group": "返回-params",
            "type": "int",
            "optional": false,
            "field": "hasOldList",
            "description": "<p>是否有旧资金列表 1有 0无</p>"
          }
        ]
      }
    },
    "filename": "../../../application/modules/v2/controllers/Fund.php",
    "groupTitle": "fund",
    "name": "PostV2FundTransaction",
    "error": {
      "fields": {
        "返回-params": [
          {
            "group": "返回-params",
            "optional": false,
            "field": "--",
            "description": "<p>本接口无params返回，请根据返回状态码（code）进行处理</p>"
          }
        ]
      }
    }
  },
  {
    "type": "post",
    "url": "/v2/fund/transfer",
    "title": "资金互转",
    "group": "fund",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "请求-reqdata": [
          {
            "group": "请求-reqdata",
            "type": "decimal",
            "optional": false,
            "field": "money",
            "description": "<p>金额 (元)</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "string",
            "optional": false,
            "field": "type",
            "description": "<p>资金互转类型 TRANSFER_OUT转出 TRANSFER_IN转入</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "string",
            "optional": false,
            "field": "wallet_type",
            "description": "<p>操作钱包类型 agency代理钱包 ordinary普通钱包 seller商家钱包</p>"
          },
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": false,
            "field": "t",
            "description": "<p>当前时间戳(测试环境可不传)</p>"
          }
        ]
      }
    },
    "filename": "../../../application/modules/v2/controllers/Fund.php",
    "groupTitle": "fund",
    "name": "PostV2FundTransfer",
    "error": {
      "fields": {
        "返回-params": [
          {
            "group": "返回-params",
            "optional": false,
            "field": "--",
            "description": "<p>本接口无params返回，请根据返回状态码（code）进行处理</p>"
          }
        ]
      }
    }
  },
  {
    "type": "post",
    "url": "/v2/fund/walletList",
    "title": "钱包列表",
    "group": "fund",
    "version": "1.0.0",
    "success": {
      "fields": {
        "返回-params": [
          {
            "group": "返回-params",
            "type": "string",
            "optional": false,
            "field": "default",
            "description": "<p>默认钱包</p>"
          },
          {
            "group": "返回-params",
            "type": "array",
            "optional": false,
            "field": "list",
            "description": "<p>钱包列表</p>"
          },
          {
            "group": "返回-params",
            "type": "string",
            "optional": false,
            "field": "wallet_name",
            "description": "<p>钱包名称</p>"
          },
          {
            "group": "返回-params",
            "type": "string",
            "optional": false,
            "field": "usable_money",
            "description": "<p>可用余额</p>"
          },
          {
            "group": "返回-params",
            "type": "string",
            "optional": false,
            "field": "wallet_type",
            "description": "<p>钱包类型</p>"
          }
        ]
      }
    },
    "filename": "../../../application/modules/v2/controllers/Fund.php",
    "groupTitle": "fund",
    "name": "PostV2FundWalletlist",
    "parameter": {
      "fields": {
        "请求-reqdata": [
          {
            "group": "请求-reqdata",
            "type": "int",
            "optional": false,
            "field": "t",
            "description": "<p>当前时间戳(测试环境可不传)</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "返回-params": [
          {
            "group": "返回-params",
            "optional": false,
            "field": "--",
            "description": "<p>本接口无params返回，请根据返回状态码（code）进行处理</p>"
          }
        ]
      }
    }
  }
] });
